package com.wtwd.device.constant;

public enum DeviceLoginEnum {


    DEVICE_SUCCESS("0@0@0", "登录成功"),
    DEVICE_FAIL("1@0@0", "登录失败");

    /**
     * 登录报文内容所含字段数
     */
    public static int FIELD_NUMBER = 8;

    /**
     * 设备上线标识
     */
    public static int DEVICE_ONLINE = 1;

    /**
     * 设备离线标识
     */
    public static int DEVICE_OFFLINE = 0;

    DeviceLoginEnum(String body, String msg) {
        this.body = body;
        this.msg = msg;
    }

    private String body;

    private String msg;

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
